export interface ProductRequestData {
  id: string
}

export interface ProductItem {
  id: number
  brandId: number
  categoryId: number
  code: string
  dyed: string
  finishing: string
  introduction: string
  laser: string
  material: string
  picUrl: string
  polish: string
  status: number
  unit: string
}

export type ProductResponseData = ApiResponseData<ProductItem>

export interface ProductSkuRequestData {
  productId: string
}

export interface Property {
  code: number
  value: string
}

export interface ProductSku {
  id: string
  propertyInfo: string
  propertyList: Array<Property>
  property: string
  salePriceUs: number
  purchasePriceUs: number
  stock: number
}

export type ProductSkuResponseData = ApiResponseData<[ProductSku]>

export interface ShipFee {
  location: string
  usPrice: number
}

export type ShipFeeResponseData = ApiResponseData<[ShipFee]>

export interface ProductWeight {
  id: number
  size: string
  weight: number
}

export type ProductWeightResponseData = ApiResponseData<[ProductWeight]>
